package com.snowballtech.retry;

import com.aliyun.openservices.ons.api.Message;
import com.aliyun.openservices.ons.api.Producer;

/**
 * Description:
 *
 * @Author: genezhao
 * @Date: 2018-04-16
 */
public interface Retry {

    /**
     * 获取生产者对象
     * @return
     */
    Producer getProducer();

    /**
     * 获取发送消息体
     * @return
     */
    Message getMessage();

    /**
     * 获取监控消息对象
     * @return
     */
    MonitorMessage getMonitorMessage();

}
